package net.ericaro.neojavagen.expressions;

/**
 * <b>NormalDimSpecifier</b> ::= <{@link net .ericaro .neojavagen .expressions .DimExprs DimExprs}> <{@link net .ericaro .neojavagen .classes .Dims Dims}>?
 * 
 * @author eric@ericaro.net
 */
public class NormalDimSpecifier extends net.ericaro.neojavagen.JavaPartComposition {
	private net.ericaro.neojavagen.expressions.DimExprs dimExprs;

	private net.ericaro.neojavagen.classes.Dims dims;

	public NormalDimSpecifier(net.ericaro.neojavagen.expressions.DimExprs dimExprs) {
		this.dimExprs = dimExprs;
		this.dims = null;
	}

	public NormalDimSpecifier(net.ericaro.neojavagen.expressions.DimExprs dimExprs, net.ericaro.neojavagen.classes.Dims dims) {
		super();
		this.dimExprs = dimExprs;
		this.dims = dims;
	}

	public net.ericaro.neojavagen.expressions.DimExprs getDimExprs() {
		return dimExprs;
	}

	public net.ericaro.neojavagen.classes.Dims getDims() {
		return dims;
	}

	public void setDimExprs(net.ericaro.neojavagen.expressions.DimExprs dimExprs) {
		this.dimExprs = dimExprs;
	}

	public void setDims(net.ericaro.neojavagen.classes.Dims dims) {
		this.dims = dims;
	}

	@Override
	public java.lang.String toString() {
		return print(dimExprs, dims);
	}
}
